package com.lidong.lowcode.database.entity;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/6/2022 9:32 PM
 */
public class MySqlColumnTypeLength {

    /**
     * 长度
     */
    private final Integer length;

    /**
     * 默认长度
     */
    private final Integer defaultLength;

    /**
     * 小数点位数
     */
    private final Integer decimalPoint;

    /**
     * 类型
     */
    private final String type;

    public MySqlColumnTypeLength(Integer length, Integer defaultLength, Integer decimalPoint, String type) {
        this.length = length;
        this.defaultLength = defaultLength;
        this.decimalPoint = decimalPoint;
        this.type = type;
    }

}
